xen.git
19 years ago[IA64] Expand memory_op for PV-on-HVM on IPF
awilliam@xenbuild.aw [Fri, 1 Sep 2006 14:46:02 +0000 (08:46 -0600)]
[IA64] Expand memory_op for PV-on-HVM on IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] revert xen-ia64-unstable.hg cset 11301:a19dbbe4cff5
awilliam@xenbuild.aw [Tue, 29 Aug 2006 15:08:29 +0000 (09:08 -0600)]
[IA64] revert xen-ia64-unstable.hg cset 11301:a19dbbe4cff5

revert arch_domain_destory() for old PV-on-HVM on IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] revert xen-ia64-unstable.hg 11271:c232365128cf
awilliam@xenbuild.aw [Tue, 29 Aug 2006 15:05:46 +0000 (09:05 -0600)]
[IA64] revert xen-ia64-unstable.hg 11271:c232365128cf

Delete functions introduced for old PV-on-HVM on IPF.

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Tue, 29 Aug 2006 14:28:38 +0000 (08:28 -0600)]
merge with xen-unstable.hg

19 years ago[IA64] init the hlt timer on a valid cpu and migrate
awilliam@xenbuild.aw [Tue, 29 Aug 2006 14:09:28 +0000 (08:09 -0600)]
[IA64] init the hlt timer on a valid cpu and migrate

Based on a patch from Anthony Xu, v->processor is not initialized
in alloc_vcpu_struct() when we initialize the hlt_timer.  Init the
timer on the first cpu and migrate it in schedule_tail().

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agoFix definition of LINUX_VER so that doesn't pickup LINUX_VER3
Ian Campbell [Tue, 29 Aug 2006 11:23:11 +0000 (12:23 +0100)]
Fix definition of LINUX_VER so that doesn't pickup LINUX_VER3
from mk.linux-2.6-xen. This makes "make mkpatches" work again.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years agoMerge
tdeegan@york.uk.xensource.com [Tue, 29 Aug 2006 08:42:35 +0000 (09:42 +0100)]
Merge

19 years ago[XEN] Off-by one error in range checks translating gfns to mfns
tdeegan@york.uk.xensource.com [Tue, 29 Aug 2006 08:37:30 +0000 (09:37 +0100)]
[XEN] Off-by one error in range checks translating gfns to mfns
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Mon, 28 Aug 2006 22:26:37 +0000 (16:26 -0600)]
merge with xen-unstable.hg

19 years ago[IA64] Modify sparse headers for PV-on-HVM/IPF
awilliam@xenbuild.aw [Mon, 28 Aug 2006 22:16:07 +0000 (16:16 -0600)]
[IA64] Modify sparse headers for PV-on-HVM/IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] separate hypercalls, acpi and EFI tables
awilliam@xenbuild.aw [Mon, 28 Aug 2006 22:09:28 +0000 (16:09 -0600)]
[IA64] separate hypercalls, acpi and EFI tables

Put hypercalls, acpi and EFI tables on three separate 4KB pages.
This was a stopper to use 4KB pages.
Comments added and simplifications.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[qemu patches] Update patches for changeset 11273:a1cff03ac7d7.
Christian Limpach [Mon, 28 Aug 2006 21:44:31 +0000 (22:44 +0100)]
[qemu patches] Update patches for changeset 11273:a1cff03ac7d7.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Fix PCI config header space writes and set Subsystem-Vendor ID fields.
Christian Limpach [Mon, 28 Aug 2006 21:43:09 +0000 (22:43 +0100)]
[qemu] Fix PCI config header space writes and set Subsystem-Vendor ID fields.
Fix failure in Windows HCT's PCI-Compliance-Test by invalidating the
writing to read-only/reserved fields in PCI configuration space header
and giving Subsystem-Vendor-ID field a valid value via copying Vendor-ID
field into it.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
19 years agoFix hypervisor build with performance counters after -unstable
Steven Hand [Mon, 28 Aug 2006 20:57:34 +0000 (21:57 +0100)]
Fix hypervisor build with performance counters after -unstable
cset 11257:86d26e6ec89b

Signed-off-by: Steve Dobbelstein <steved@us.ibm.com>
19 years agoFix shadow mode 32/PAE linux writable heuristic and add 64-bit version.
Steven Hand [Mon, 28 Aug 2006 20:40:42 +0000 (21:40 +0100)]
Fix shadow mode 32/PAE linux writable heuristic and add 64-bit version.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoFix PAE-mode HVM guests with the new shadow code.
Steven Hand [Mon, 28 Aug 2006 20:25:13 +0000 (21:25 +0100)]
Fix PAE-mode HVM guests with the new shadow code.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years ago[IA64] fix noreboot option
awilliam@xenbuild.aw [Mon, 28 Aug 2006 20:09:31 +0000 (14:09 -0600)]
[IA64] fix noreboot option

fix machine_hlt to support noreboot option.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
[modified to use existing cpu_halt() function in linux-xen files]
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] print command line of xen
awilliam@xenbuild.aw [Mon, 28 Aug 2006 19:31:35 +0000 (13:31 -0600)]
[IA64] print command line of xen

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
19 years ago[IA64] fix warnings
awilliam@xenbuild.aw [Mon, 28 Aug 2006 19:30:04 +0000 (13:30 -0600)]
[IA64] fix warnings

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[qemu patches] Update patches for changeset 11268:350a73222a51.
Christian Limpach [Mon, 28 Aug 2006 19:22:56 +0000 (20:22 +0100)]
[qemu patches] Update patches for changeset 11268:350a73222a51.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu] Add target-i386-dm and hw *.[ch] files to TAGS.
Christian Limpach [Mon, 28 Aug 2006 19:21:38 +0000 (20:21 +0100)]
[qemu] Add target-i386-dm and hw *.[ch] files to TAGS.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[IA64] fix VTi hangs
awilliam@xenbuild.aw [Mon, 28 Aug 2006 19:18:36 +0000 (13:18 -0600)]
[IA64] fix VTi hangs

In some scenarios, xen_timer_interrupt will not set machine itm,
this may make this LP not receive timer interrupt any more.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] Remove warning message in fw_emul.c
awilliam@xenbuild.aw [Mon, 28 Aug 2006 19:14:52 +0000 (13:14 -0600)]
[IA64] Remove warning message in fw_emul.c

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[IA64] Fix comment of vmx_hypercall.c
awilliam@xenbuild.aw [Mon, 28 Aug 2006 19:12:42 +0000 (13:12 -0600)]
[IA64] Fix comment of vmx_hypercall.c

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] Modify destroy code for PV-on-HVM on IPF
awilliam@xenbuild.aw [Mon, 28 Aug 2006 19:11:17 +0000 (13:11 -0600)]
[IA64] Modify destroy code for PV-on-HVM on IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[HVM] Don't assume that VMENTER causes a TLB flush, when validating
tdeegan@york.uk.xensource.com [Mon, 28 Aug 2006 16:50:21 +0000 (17:50 +0100)]
[HVM] Don't assume that VMENTER causes a TLB flush, when validating
shadow pagetable updates.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoFix Intel copyright notice in a single source file.
kaf24@localhost.localdomain [Mon, 28 Aug 2006 12:08:41 +0000 (13:08 +0100)]
Fix Intel copyright notice in a single source file.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEND] Move all of the various log files created by xen to
kaf24@localhost.localdomain [Mon, 28 Aug 2006 12:05:00 +0000 (13:05 +0100)]
[XEND] Move all of the various log files created by xen to
be under /var/log/xen instead of under /var/log directly.  This has
the advantage of cleaning things up a little and also can make it
easier to restrict the permissions needed by xend.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
19 years ago[HVM] [SMBIOS] Duplicate UUID into serial number in SMBIOS tables.
kaf24@localhost.localdomain [Mon, 28 Aug 2006 11:59:07 +0000 (12:59 +0100)]
[HVM] [SMBIOS] Duplicate UUID into serial number in SMBIOS tables.

Windows zeroes out the UUID in the SMBIOS tables, but the identifier
is often needed by systems management code.  Duplicating the UUID
as the virtual system's serial number should help.

Signed-off-by: Andrew D. Ball <aball@us.ibm.com>
19 years agoThe following patch fixes a bug where xenconsoled will can SEGV
kaf24@localhost.localdomain [Mon, 28 Aug 2006 11:50:55 +0000 (12:50 +0100)]
The following patch fixes a bug where xenconsoled will can SEGV
because it uses FD_ISSET(-1,xxx).  Since the code is written that any
ring/tty handler can set d->tty_fd to -1 it has to be checked
_every_time_.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
19 years ago[TOOLS] Remove Gentoo-specific workaround in networking
kaf24@localhost.localdomain [Mon, 28 Aug 2006 11:49:14 +0000 (12:49 +0100)]
[TOOLS] Remove Gentoo-specific workaround in networking
scripts -- apparently it is not needed (reported by
Tuan Van <lang.thang@gmail.com>). See bugzilla issue #741
for more details.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TOOLS] Clean up routed vifs quietly on domain destruction.
kaf24@localhost.localdomain [Mon, 28 Aug 2006 11:41:15 +0000 (12:41 +0100)]
[TOOLS] Clean up routed vifs quietly on domain destruction.

I have experienced that the vif-route script does not work as expected
when deleting a virtual interface (Redhat FC5). Both of the commands
"ifdown" and "ip route" cause an early vif-route script exit and
therefore will cause skipping of the later script commands (such as
cleaning up iptables entries for the default 'antispoof'). The
vif-route
script creates the following syslog error entry:
"/etc/xen/scripts/vif-route failed; error detected."

It appears that both of the problematic commands are actually
redundant
when destroying domains:
1. the interface is already gone (I assume because the domain frontend
is gone already)  --> ifdown does not do anything
2. the route is gone as well since the interface has disappeared -->
ip
route del does not do anything

Executing those redundant commands with "do_without_error" ensures
that
the script completes and cleans up iptables rules. The attached
RFC-patch only masks those commands when bringing down an interface,
so
that domain creation continues to fail in case of vif setup problems
(intended behavior).

Having the iptables cleanup called correctly by vif-route is important
to keep the iptables rule-set clean, otherwise antispoof rules
accumulate with every vif creation.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>

19 years ago[HVM][SVM] Allow SVM to take advantage of flag_dr_dirty.
kaf24@localhost.localdomain [Mon, 28 Aug 2006 11:35:43 +0000 (12:35 +0100)]
[HVM][SVM] Allow SVM to take advantage of flag_dr_dirty.

Signed-off-by: Travis Betak <travis.betak@amd.com>
19 years ago[XEN] Rename shadow2 to shadow and move the various source
kaf24@localhost.localdomain [Mon, 28 Aug 2006 11:09:36 +0000 (12:09 +0100)]
[XEN] Rename shadow2 to shadow and move the various source
files into a sensible directory hierarchy.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[IA64] Fixes for dom0_ops changes
awilliam@xenbuild.aw [Sun, 27 Aug 2006 16:25:39 +0000 (10:25 -0600)]
[IA64] Fixes for dom0_ops changes

Fix typo and update op names

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Sun, 27 Aug 2006 16:24:41 +0000 (10:24 -0600)]
merge with xen-unstable.hg

19 years ago[PATCH] fix null pointer dereference in xen_guest_lookup()
Alex Williamson [Sun, 27 Aug 2006 05:56:01 +0000 (06:56 +0100)]
[PATCH] fix null pointer dereference in xen_guest_lookup()

  The latest ELF changes have a null pointer dereference bug when you
have neither an elf notes section nor a __xen_guest_string.  This patch
checks for the existence of the __xen_guest_string prior to using it.
Please apply.  Thanks,

Alex

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
---

19 years ago[IA64] replace lost EFI_RESERVED_TYPE dom0 passthrough
awilliam@xenbuild.aw [Fri, 25 Aug 2006 22:21:39 +0000 (16:21 -0600)]
[IA64] replace lost EFI_RESERVED_TYPE dom0 passthrough

Some systems (HP Superdome in particular) place ACPI tables in
reserved memory regions, so we have to pass it through to dom0.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] dom_fw.c cleaned up.
awilliam@xenbuild.aw [Fri, 25 Aug 2006 21:52:31 +0000 (15:52 -0600)]
[IA64] dom_fw.c cleaned up.

Only use one page for stubs and tables instead of 2MB.
Create struct fw_tables to make code more understandable.
Many comments added.
Correctly compute sal systab checksum.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[XEN] Fix silly transposition typo in previous changeset.
kaf24@firebug.cl.cam.ac.uk [Fri, 25 Aug 2006 21:35:24 +0000 (22:35 +0100)]
[XEN] Fix silly transposition typo in previous changeset.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[IA64] Expand hvm_op hypercall for PV-on-HVM/IPF
awilliam@xenbuild.aw [Fri, 25 Aug 2006 21:06:18 +0000 (15:06 -0600)]
[IA64] Expand hvm_op hypercall for PV-on-HVM/IPF

Introduce HVMOP_setup_shared_info_page
 - A page allocated on HVM-guest OS is swapped original shared_info
   page with this hypercall.
 - In x86 code, original shared_info page is used after pv-on-hvm
   setup with remapping feature in arch depend HYPERVISOR_memory_op.
   But, we can't implement same feature for IPF, thus we select to
   implement with this method.
Introduce HVMOP_setup_gnttab_table
 - Pages allocated on HVM-guest OS is swapped original grant_table
   page frames with this hypercall.
 - Same above.

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years agoReplace dom0_ops hypercall with three new hypercalls:
kfraser@localhost.localdomain [Fri, 25 Aug 2006 17:39:10 +0000 (18:39 +0100)]
Replace dom0_ops hypercall with three new hypercalls:
 1. platform_op -- used by dom0 kernel to perform actions on the
    hardware platform (e.g., MTRR access, microcode update, platform
    quirks, ...)
 2. domctl -- used by management tools to control a specified domain
 3. sysctl -- used by management tools for system-wide actions

Benefits include more sensible factoring of actions to
hypercalls. Also allows tool compatibility to be tracked separately
from the dom0 kernel. The assumption is that it will be easier to
replace libxenctrl, libxenguest and Xen as a matched set if the
dom0 kernel does not need to be replaced too (e.g., because that
would require vendor revalidation).

From here on we hope to maintain dom0 kernel compatibility. This
promise is not extended to tool compatibility beyond the existing
guarantee that compatibility will not be broken within a three-level
stable release [3.0.2, 3.0.3, etc.].

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TOOLS] Use ELFSIZE to pick the ELF structures to use in readnotes.c
Ian Campbell [Fri, 25 Aug 2006 09:39:24 +0000 (10:39 +0100)]
[TOOLS] Use ELFSIZE to pick the ELF structures to use in readnotes.c

We can remove Elf_Ehdr since it is only used for e_ident which is an
unsigned char array.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years agomerge
Ian Campbell [Fri, 25 Aug 2006 09:06:24 +0000 (10:06 +0100)]
merge

19 years ago[IA64] Avoid compile-time warnings.
awilliam@xenbuild.aw [Thu, 24 Aug 2006 17:54:23 +0000 (11:54 -0600)]
[IA64] Avoid compile-time warnings.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] All vcpus can sync interrupts from qemu
awilliam@xenbuild.aw [Thu, 24 Aug 2006 17:52:23 +0000 (11:52 -0600)]
[IA64] All vcpus can sync interrupts from qemu

Previously only vcpu0 can sync interrupt from qemu.
Now all vcpus can sync.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] pal_halt_light emulatefor domU
awilliam@xenbuild.aw [Thu, 24 Aug 2006 17:48:35 +0000 (11:48 -0600)]
[IA64] pal_halt_light emulatefor domU

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
19 years ago[IA64] Clean up: change asm constraints and remove _hypercall_imm*
awilliam@xenbuild.aw [Thu, 24 Aug 2006 17:42:24 +0000 (11:42 -0600)]
[IA64] Clean up: change asm constraints and remove _hypercall_imm*

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
19 years ago[IA64] VTLB optimization: Reuse invalid entry
awilliam@xenbuild.aw [Thu, 24 Aug 2006 17:32:55 +0000 (11:32 -0600)]
[IA64] VTLB optimization: Reuse invalid entry

When inserting entry to vtlb or vhpt, reuse invalid entry.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[LINUX] Remove hypercall permission checks from privcmd driver.
kfraser@localhost.localdomain [Thu, 24 Aug 2006 16:58:28 +0000 (17:58 +0100)]
[LINUX] Remove hypercall permission checks from privcmd driver.

This will allow the tools management to be revised independently
of dom0 kernel interfaces. Currently tools cannot be 'smarter'
than the kernel in terms of hypercalls they know about, because
the kernel disallows access to any hypercalls it does not know
about.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVM] Fixes to the ACPI table definition.
kfraser@localhost.localdomain [Thu, 24 Aug 2006 16:24:54 +0000 (17:24 +0100)]
[HVM] Fixes to the ACPI table definition.

1) Fixed HCT test "Unreported Memory and I/O Port test" for memory
   range 0xC0000~0xFFFFF and IO 0x378
2) Make consistent with non-acpi OS by enabling LPT1, remove com2
   which conflicts with usb mouse
3) Fixed the USB HID-Compliant mouse when set
   usbdevice='tablet'/'mouse'
4) Fixed Vista boot by removing old NIC "resourceConsumer"

Signed-off-by: Winston Wang <winston.l.wang@intel.com>
19 years agoRemove redundant performance counters.
Steven Hand [Thu, 24 Aug 2006 15:25:49 +0000 (16:25 +0100)]
Remove redundant performance counters.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoEnsure get_dom_domid() terminates even when /local/domain/<foo>/name is
Steven Hand [Thu, 24 Aug 2006 13:07:01 +0000 (14:07 +0100)]
Ensure get_dom_domid() terminates even when /local/domain/<foo>/name is
not present.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years ago[POWERPC] Remove references to xen_guest_string from ppc dom0 builder.
Ian Campbell [Thu, 24 Aug 2006 09:58:41 +0000 (10:58 +0100)]
[POWERPC] Remove references to xen_guest_string from ppc dom0 builder.
The xen_guest_string should not be examined directly and the ppc code
doesn't use it yet anyway.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Fix shadow2 issues with HVM guests.
kfraser@localhost.localdomain [Thu, 24 Aug 2006 08:49:41 +0000 (09:49 +0100)]
[XEN] Fix shadow2 issues with HVM guests.

This supercedes 11243:51a98a6c2c054bfc37c90a5a3f29929f2347bda8
which was incorrect because the data operand type codes in
the opcode table are not correct for some special cases: one
of these happens to be PUSH, which is the instruction we
particularly need to fix!

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoThis small patch adds back a closing paranthesis that has gone lost. It
Ewan Mellor [Wed, 23 Aug 2006 22:12:56 +0000 (23:12 +0100)]
This small patch adds back a closing paranthesis that has gone lost. It
fixes the build for the Xen access control module.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>

19 years agoThe various tools expect the device node to be /dev/xen/evtchn -- this
Ewan Mellor [Wed, 23 Aug 2006 21:16:02 +0000 (22:16 +0100)]
The various tools expect the device node to be /dev/xen/evtchn -- this
makes it so that udev actually creates the device there

Signed-off-by: Jeremy Katz <katzj@redhat.com>
19 years ago[IA64] Remove extraneous verbose output to clean up Fedora boot.
awilliam@xenbuild.aw [Wed, 23 Aug 2006 19:26:46 +0000 (13:26 -0600)]
[IA64] Remove extraneous verbose output to clean up Fedora boot.

Signed-off-by: Aron Griffis <aron@hp.com>
19 years ago[IA64] Modify xc_ia64_hvm_build for using the new Xen event channels
awilliam@xenbuild.aw [Wed, 23 Aug 2006 19:21:02 +0000 (13:21 -0600)]
[IA64] Modify xc_ia64_hvm_build for using the new Xen event channels

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] catch up `new Xen event channels'
awilliam@xenbuild.aw [Wed, 23 Aug 2006 19:13:51 +0000 (13:13 -0600)]
[IA64] catch up `new Xen event channels'

DM over to using the new Xen event channels for IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] PV-to-HVM prep for maddr.h
awilliam@xenbuild.aw [Wed, 23 Aug 2006 18:56:10 +0000 (12:56 -0600)]
[IA64] PV-to-HVM prep for maddr.h

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
[merged with existing maddr.h]
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agomerge
Ian Campbell [Wed, 23 Aug 2006 17:39:17 +0000 (18:39 +0100)]
merge

19 years ago[XEN] Restore backwards compatibility by supporting __xen_guest
Ian Campbell [Wed, 23 Aug 2006 17:38:49 +0000 (18:38 +0100)]
[XEN] Restore backwards compatibility by supporting __xen_guest
section in dom0 loader.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Fix the x86 emulator to safely fail when it turns out the
kfraser@localhost.localdomain [Wed, 23 Aug 2006 17:38:08 +0000 (18:38 +0100)]
[XEN] Fix the x86 emulator to safely fail when it turns out the
faulting memory access was to/from an implicit memory operand
(typically either an instruction fetch or stack access).
Rationalise use of macros for page fault error code flags.
This patch supercedes the fix in changeset 11242.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TOOLS] Cleanups to domU ELF loader.
Ian Campbell [Wed, 23 Aug 2006 17:35:21 +0000 (18:35 +0100)]
[TOOLS] Cleanups to domU ELF loader.

- Remove debugging statements.
- Cope better with archtectures where neither ELF notes or __xen_guest
  are needed or required.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[IA64] DOM0_SHADOW_CONTROL_OP_GET/SET_ALLOCATION stubs
awilliam@xenbuild.aw [Wed, 23 Aug 2006 17:16:41 +0000 (11:16 -0600)]
[IA64] DOM0_SHADOW_CONTROL_OP_GET/SET_ALLOCATION stubs

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] update xc_shadow_control call with new parameters
awilliam@xenbuild.aw [Wed, 23 Aug 2006 17:16:26 +0000 (11:16 -0600)]
[IA64] update xc_shadow_control call with new parameters

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] replace gnttab_log_dirty with gnttab_mark_dirty
awilliam@xenbuild.aw [Wed, 23 Aug 2006 17:16:11 +0000 (11:16 -0600)]
[IA64] replace gnttab_log_dirty with gnttab_mark_dirty

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] split parts of page.h into maddr.h
awilliam@xenbuild.aw [Wed, 23 Aug 2006 17:15:29 +0000 (11:15 -0600)]
[IA64] split parts of page.h into maddr.h

ia64 support for xen-unstable.hg cset 11081:9c953e1b6fad

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] only setup extra vga console support on dom0
awilliam@xenbuild.aw [Wed, 23 Aug 2006 17:14:52 +0000 (11:14 -0600)]
[IA64] only setup extra vga console support on dom0

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild.aw [Wed, 23 Aug 2006 17:11:27 +0000 (11:11 -0600)]
merge with xen-unstable.hg

19 years agoDon't emulate faulting writes to stack. May fix a number of recent hvm
Steven Hand [Wed, 23 Aug 2006 16:25:11 +0000 (17:25 +0100)]
Don't emulate faulting writes to stack. May fix a number of recent hvm
bugs with the new shadow code. A more complete clean-up of the emulation
code will follow.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoRemove all traces of the obsolete BVT scheduler.
kfraser@localhost.localdomain [Wed, 23 Aug 2006 16:14:38 +0000 (17:14 +0100)]
Remove all traces of the obsolete BVT scheduler.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TOOLS] Remove the 'cpuperf' misc tool. Xenoprof is the
kfraser@localhost.localdomain [Wed, 23 Aug 2006 14:02:55 +0000 (15:02 +0100)]
[TOOLS] Remove the 'cpuperf' misc tool. Xenoprof is the
correct tool to use for hardware perfctr monitoring now.
Also remove unused xc_msr MSR accessor functions from libxenctrl.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[TOOLS] Add a simple tool to display the Xen specific ELF notes.
Ian Campbell [Wed, 23 Aug 2006 13:43:48 +0000 (14:43 +0100)]
[TOOLS] Add a simple tool to display the Xen specific ELF notes.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN/LINUX] Define Xen ELF notes in kernel header and update dom0 builder.
Ian Campbell [Wed, 23 Aug 2006 13:41:05 +0000 (14:41 +0100)]
[XEN/LINUX] Define Xen ELF notes in kernel header and update dom0 builder.

ELF notes provide a cleaner interface for passing Xen specific
information from the kernel to the domain builder than the existing
__xen_guest section string. The __xen_guest string is retained in
kernels built with 3.0.2 compatability for domU however dom0 requires
the new interface.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[TOOLS] Allow tools to load kernels which use an ELF notes segment.
Ian Campbell [Wed, 23 Aug 2006 13:37:39 +0000 (14:37 +0100)]
[TOOLS] Allow tools to load kernels which use an ELF notes segment.

Compatability with kernels using the __xen_guest section is retained.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Define the types to be used with Xen in the ELF notes section.
Ian Campbell [Wed, 23 Aug 2006 13:36:09 +0000 (14:36 +0100)]
[XEN] Define the types to be used with Xen in the ELF notes section.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[LINUX] Define ELFNOTE as a preprocessor macro rather than an assembler macro
Ian Campbell [Wed, 23 Aug 2006 13:34:25 +0000 (14:34 +0100)]
[LINUX] Define ELFNOTE as a preprocessor macro rather than an assembler macro

Assembler .macros have various issues with string arguments and :varargs.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Fix pirq_guest_unbind(). Remove unnecessary code
kfraser@localhost.localdomain [Wed, 23 Aug 2006 10:27:06 +0000 (11:27 +0100)]
[XEN] Fix pirq_guest_unbind(). Remove unnecessary code
(in fact flush_all_pending_eoi() was broken!).
Based on a patch from Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[IA64] Remove PIN processing for Domain-0 vcpu0
awilliam@xenbuild.aw [Tue, 22 Aug 2006 20:45:49 +0000 (14:45 -0600)]
[IA64] Remove PIN processing for Domain-0 vcpu0

This patch removes PIN processing for Domain-0 vcpu0 executed
at the time of Xen initialization.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[IA64] Add stubs to Linux/IPF for the new hvm_op hypercall.
awilliam@xenbuild.aw [Tue, 22 Aug 2006 20:44:13 +0000 (14:44 -0600)]
[IA64] Add stubs to Linux/IPF for the new hvm_op hypercall.

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] Add support for sending event channel interrupts to VT-i guest
awilliam@xenbuild.aw [Tue, 22 Aug 2006 20:42:05 +0000 (14:42 -0600)]
[IA64] Add support for sending event channel interrupts to VT-i guest

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years ago[IA64] HMVOP_get_param return parameter value
awilliam@xenbuild.aw [Tue, 22 Aug 2006 20:40:48 +0000 (14:40 -0600)]
[IA64] HMVOP_get_param return parameter value

HMVOP_get_param return parameter value within the provided
parameter struct for IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
19 years agomerge
Ian Campbell [Tue, 22 Aug 2006 17:51:02 +0000 (18:51 +0100)]
merge

19 years ago[XEN] Remove some accidentally commited debug code
Ian Campbell [Tue, 22 Aug 2006 17:50:22 +0000 (18:50 +0100)]
[XEN] Remove some accidentally commited debug code
from dom0 domain builder.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[SHADOW] Clean up the DOM0_SHADOW_OP interface.
kfraser@localhost.localdomain [Tue, 22 Aug 2006 17:50:01 +0000 (18:50 +0100)]
[SHADOW] Clean up the DOM0_SHADOW_OP interface.
Also bump the dom0 interface version for tools (but
not for dom0 kernel!).
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agomerge
Ian Campbell [Tue, 22 Aug 2006 17:48:00 +0000 (18:48 +0100)]
merge

19 years ago[XEN] Revert changes to dom0 domain builder made by cset 11226.
Ian Campbell [Tue, 22 Aug 2006 17:47:29 +0000 (18:47 +0100)]
[XEN] Revert changes to dom0 domain builder made by cset 11226.

We require that the dom0 domain builder still sets _PAGE_USER.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[HVM] Clean ups for PV-on-HVM drivers. In particular, platform-pci
kfraser@localhost.localdomain [Tue, 22 Aug 2006 16:16:58 +0000 (17:16 +0100)]
[HVM] Clean ups for PV-on-HVM drivers. In particular, platform-pci
driver can now handle multi-page hypercall stub areas.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LINUX] Update x86/64 ELF note patch to version accepted upstream.
Ian Campbell [Tue, 22 Aug 2006 14:55:43 +0000 (15:55 +0100)]
[LINUX] Update x86/64 ELF note patch to version accepted upstream.

Signed-off-by: Ian Campbell <ian.campbell@xesource.com>
19 years ago[x86_64] Guests no longer set _PAGE_USER on kernel mappings.
kfraser@localhost.localdomain [Tue, 22 Aug 2006 14:26:40 +0000 (15:26 +0100)]
[x86_64] Guests no longer set _PAGE_USER on kernel mappings.
This may allow guest kernels to be run outside ring 3 in future, and
also provides scope for optimisations today (e.g., using global bit on
user mappings).

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[hvm] Export gpfn of store page to guest - not mfn.
Christian Limpach [Tue, 22 Aug 2006 14:13:07 +0000 (15:13 +0100)]
[hvm] Export gpfn of store page to guest - not mfn.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoMake add_to_bridge() always leave the device up even when it bails out due to the...
Anil Madhavapeddy [Tue, 22 Aug 2006 13:59:16 +0000 (14:59 +0100)]
Make add_to_bridge() always leave the device up even when it bails out due to the device already being present on the bridge.
This makes the script more idempotent if run twice (e.g. from hotplug and udev), since the second time the device will be taken down and not brought up again, leaving the host without networking.

Signed-off-by: Anil Madhavapeddy <anil@xensource.com>
19 years ago[LINUX] Support creating ELF note segments in the kernel ELF image.
Ian Campbell [Tue, 22 Aug 2006 11:20:43 +0000 (12:20 +0100)]
[LINUX] Support creating ELF note segments in the kernel ELF image.

i386 version is taken from 2.6.18-rc4-mm1 and x86_64 version has been
submitted for inclusion.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years agomerge.
Ian Campbell [Tue, 22 Aug 2006 10:34:46 +0000 (11:34 +0100)]
merge.

19 years ago[XEN] Debug builds check for correct usage of percpu areas.
kfraser@localhost.localdomain [Tue, 22 Aug 2006 10:33:59 +0000 (11:33 +0100)]
[XEN] Debug builds check for correct usage of percpu areas.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LINUX] Revert bits of cset 11202 since they break the -xenU build for x86/64.
Ian Campbell [Tue, 22 Aug 2006 10:30:13 +0000 (11:30 +0100)]
[LINUX] Revert bits of cset 11202 since they break the -xenU build for x86/64.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Clean up some x86 bootstrap code. Replace some CPU iterators
kfraser@localhost.localdomain [Tue, 22 Aug 2006 10:19:48 +0000 (11:19 +0100)]
[XEN] Clean up some x86 bootstrap code. Replace some CPU iterators
with for_each_cpu() -- we want to ensure that per_cpu areas are
accessed only for cpus in cpu_possible_map.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdded option to xentrace to set the trace buffer size.
George Dunlap [Mon, 21 Aug 2006 16:05:11 +0000 (12:05 -0400)]
Added option to xentrace to set the trace buffer size.

Signed-off-by: George Dunlap <gdunlap@xensource.com>